#!/bin/sh
# 重启bjstk
pid=`ps aux | grep bjstk-server.jar | grep -v grep | awk '{print $2}'`
echo "进程ID : " $pid
kill -9 $pid
echo "进程" $pid "已被杀死"
echo "开始重启BJSTK(bjs-toolkit electron 版本服务端)"
nohup java -Xms512m -Xmx512m -jar /usr/local/jasmine/bjs-toolkit/bjstk-server.jar &
echo "BJSTK正在启动,请查看日志 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓"
